package com.intellagric.mapper;

import com.intellagric.pojo.TraceProduceWarehouse;
import com.intellagric.pojo.TraceProduceWarehouseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceProduceWarehouseMapper {
    long countByExample(TraceProduceWarehouseExample example);

    int deleteByExample(TraceProduceWarehouseExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceProduceWarehouse record);

    int insertSelective(TraceProduceWarehouse record);

    List<TraceProduceWarehouse> selectByExample(TraceProduceWarehouseExample example);

    TraceProduceWarehouse selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceProduceWarehouse record, @Param("example") TraceProduceWarehouseExample example);

    int updateByExample(@Param("record") TraceProduceWarehouse record, @Param("example") TraceProduceWarehouseExample example);

    int updateByPrimaryKeySelective(TraceProduceWarehouse record);

    int updateByPrimaryKey(TraceProduceWarehouse record);
}